package com.basics.organization.service;

import com.basics.api.request.organization.EditOrganizationReq;
import com.basics.organization.entity.CyOrganizationPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 分组权限 服务类
 * </p>
 *
 * @author WangWei
 * @since 2025-03-09
 */
public interface CyOrganizationPermissionService extends IService<CyOrganizationPermission> {

    /**
     * 根据分组ID获取权限列表
     * @param groupId
     * @return
     */
    List<EditOrganizationReq.GroupPermission> selectGroupPermissionList(String groupId);
}
